package com.mo.tv.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenxiaodong
 * @since 2017-08-23
 */
@TableName("zl_user")
public class ZlUser extends Model<ZlUser> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
	@TableField("tvid")
	private String tvid;
	@TableField("CREATE_TIME")
	private Date createTime;

	@TableField("SIGNATURE")
	private String signature;
	
	@TableField("CHANNEL")
	private String channel;
	
	@TableField("TV_DEVICEID")
	private String guid;
	
	@TableField("TV_CHIPMODELNUM")
	private String model;
	
	@TableField("TV_AREA_ID")
	private String vendor;
	
	@TableField("TV_REGION_ID")
	private String appVersion;
	
	@TableField("TV_REGION_ID")
	private String sysVersion;
	

	public String getSignature() {
		return signature;
	}

	public void setSignature(String signature) {
		this.signature = signature;
	}

	public String getChannel() {
		return channel;
	}

	public void setChannel(String channel) {
		this.channel = channel;
	}

	public String getGuid() {
		return guid;
	}

	public void setGuid(String guid) {
		this.guid = guid;
	}

	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	public String getVendor() {
		return vendor;
	}

	public void setVendor(String vendor) {
		this.vendor = vendor;
	}

	public String getAppVersion() {
		return appVersion;
	}

	public void setAppVersion(String appVersion) {
		this.appVersion = appVersion;
	}

	public String getSysVersion() {
		return sysVersion;
	}

	public void setSysVersion(String sysVersion) {
		this.sysVersion = sysVersion;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	public String getTvid() {
		return tvid;
	}

	public void setTvid(String tvid) {
		this.tvid = tvid;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	public String toString() {
		return "ZlUser [id=" + id + ", tvid=" + tvid + ", createTime="
				+ createTime + "]";
	}

	
}
